<script type="text/javascript" src="${base}/scripts/xsgl/nbxsd.js"></script>
<table id="nbxsd-grid"></table>
<div id="nbxsd-toolbar">
    <div class="PTools">
        <ul class="niu">
            <li><a href="javascript:void(0);" id="nbxsd-add" plain="true" onclick="nbxsd_addItem('新增内部销售单','add_xsd')">新建</a></li>
            <li><a href="javascript:void(0);" id="nbxsd-edit" class="rep" plain="true" style="display: none" onclick="nbxsd_editItem('修改内部销售单','edit_xsd')">调整</a></li>
            <li><a href="javascript:void(0);" id="nbxsd-del" class="del" plain="true" style="display: none" onclick="nbxsd_destroyItem()">废除</a></li>
            <li><a href="javascript:void(0);" id="btn_commit_nbxsd" plain="true" class="start" style="display: none" onclick="nbxsd_commitItem()">提交</a><li>
            <li><a href="javascript:void(0);" id="btn_cancel_nbxsd" plain="true" class="del" style="display: none" onclick="nbxsd_cancelItem()">取消提交</a><li>
        <#--<#if gnczList??>-->
                    <#--<#list gnczList as gncz>-->
                        <#--<li>${(gncz.gnczHtml)!}</li>-->
                    <#--</#list>-->
                <#--</#if>-->
        </ul>
        <div class="sea-tool"><a href="javascript:void(0);"><span>高级搜索</span></a></div>
    </div>
    <div class="textcon">
        <table class="tb">
            <tr>
                <th>状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</th>
                <td><select class="easyui-combobox searchinput-text" style="width:166px;"
                            data-options="panelHeight:'150'" name="nbxsd_zt">
                    <option value="">全部</option>
                    <option value="ybc">已保存</option>
                    <option value="yck">已出库</option>
                    <option value="yjs">已结算</option>
                </select></td>
                <th>采购公司：</th>
                <td>
                    <input name="nbxsd_kh" type="text" class="input-text" />
                </td>
                <th>采购部门：</th>
                <td>
                    <input name="nbxsd_khbm" type="text" class="input-text" />
                </td>
            </tr>
            <tr>
                <th>销售单号：</th>
                <td><input name="nbxsd_xsdh" type="text" style="width:164px;" class="searchinput-text"></td>
                <th>销售单位：</th>
                <td><input id="nbxsd_xsdw" name="nbxsd_xsdw" type="text" style="width:166px;" class="easyui-combotree input-text"
                           data-options="url:'${base}/organ/gsjg/gsjg_tree',panelHeight:'150',line:'true' "/>
                </td>
                <th>销&nbsp;售&nbsp;&nbsp;人：</th>
                <td><input id="nbxsd_xsry" name="nbxsd_xsry" type="text" style="width:166px;" class="easyui-combobox input-text"
                           data-options="valueField:'id',textField:'xm',panelHeight:'150' "/></td>
            </tr>
            <tr>
                <th>制单时间：</th>
                <td><input id="nbxsd_fhrq_start" name="fhsjStart" type="text" style="width:166px;"
                           class="easyui-datebox"  value="${(currentTime?date)!}"/></td>
                <td align="center">至</td>
                <td><input id="nbxsd_fhrq_end" name="fhsjEnd" type="text" style="width:166px;" class="easyui-datebox"
                           value="${(currentTime?date)!}"/></td>
                <td style=" padding-left:5px;"><input type="button" value="" class="submit" onclick="nbxsd_search()"/></td>
            </tr>
        </table>
    </div>
</div>